package com.example.clientsideapplication;

import java.io.Serializable;

public class Merchant implements Serializable{

	private static final long serialVersionUID = 7304720885920618777L;
	private String username;
	private String password;
	private String shopName;
	private String shopAddress;
	private double longGps;
	private double latGps;
	
	public Merchant(String username, String password, String shopName, String shopAddress, double longGps, double latGps){
		this.username = username;
		this.password = password;
		this.shopName = shopName;
		this.shopAddress = shopAddress;
		this.longGps = longGps;
		this.latGps = latGps;
	}

	public Merchant(double longGps, double latGps, String shopName, String shopAddress){
		this.username = null;
		this.password = null;
		this.longGps = longGps;
		this.latGps = latGps;
		this.shopName = shopName;
		this.shopAddress = shopAddress;
	}
	
	public String getUsername() {
		return username;
	}

	public String getPassword() {
		return password;
	}

	public double getLongGps() {
		return longGps;
	}

	public double getLatGps() {
		return latGps;
	}

	public String getShopName() {
		return shopName;
	}

	public String getShopAddress() {
		return shopAddress;
	}
	
	
}
